package bridge;

/**
 * @Author: Ma JiBin
 * @Email: 1423553596@qq.com
 * @Date: 2018/9/6 16:18
 * @Description: 桥接模式
 */
public class Main {
    public static void main(String[] args) {
        Shape redCircle = new Circle(1, 1, 10, new RedCircle());
        Shape greenCircle = new Circle(2, 2, 5, new GreenCircle());

        redCircle.draw();
        greenCircle.draw();
    }
}
